<?php

use yii\helpers\Html;
use \kartik\detail\DetailView;
/* @var $this yii\web\View */
/* @var $model app\modules\borrowers\models\Borrower */

$this->title = $model->borrowerID;
$this->params['breadcrumbs'][] = ['label' => 'Borrowers', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="borrower-view">

    <p>
        <?= Html::a('Update', ['update', 'id' => $model->borrowerID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'id' => $model->borrowerID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'condensed'=>true,
        'mode'=>DetailView::MODE_VIEW,
        'hover'=>true,
        'attributes' => [
                ['columns' => [
                    [
                        'attribute'=>'borrowerID',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'userName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'englishName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'nickName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'custSeqNo',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'email',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                        'format' => 'email',
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'phone',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'birthday',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'tel',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'fax',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'webSite',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'province',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'city',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'county',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'billAddress',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'billPostCode',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'customerStatus',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'intention',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'accountStatus',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'accountDate',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'isDeleted',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'identityNo',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'education',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'gender',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'duty',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'companyName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'customerMantainUser',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'customerAuth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'comments',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'signContractDate',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'contractNo',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'createTime',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'createUser',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'updateTime',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'updateUser',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'owner',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'borrowerFrom',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'incomes',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'borrowAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'borrowMonth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'customerLevel',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'customerType',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'paymentDay',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'auditAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'auditMonth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'borrowerSeqNo',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'transferedUser',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'transferedDate',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'contractAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'payedMonth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'isDelayed',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'paymentAmtByMonth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'delayedNextPaymentDay',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'homeAddress',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'nextMonth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'delayedMonth',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'job',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'borrowPurpose',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'signContractAddress',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'delayedAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'delayedMonthAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'fangkuanBankName',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'fangkuanBankCode',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'borrowerCustomerType',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'windAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'pactAddress',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'identityAddress',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'fangkuanTime',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'aheadPaymentDate',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'isBorrowerRedeem',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'riskStatus',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'tapeAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'fengxianjin',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'jieqingTime',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'tiqianhuankuanAmt',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'userName2ND',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'phone2ND',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'identityNo2ND',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'caiwukoukuanDate',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'team',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'Souce',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'IsGuarantee',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'IsPawn',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                    [
                        'attribute'=>'Grade',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
                ['columns' => [
                    [
                        'attribute'=>'GroupId',
                        'labelColOptions'=>['style'=>'width:14%'],
                        'valueColOptions'=>['style'=>'width:16%'],
                    ],
                  ],
                ],// end columns
        ],
    ]) ?>

</div>
